package org.yohann.ai.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.yohann.ai.pojo.PagePath;
import org.yohann.ai.provider.PagePathProvider;

import java.util.List;

@Slf4j
@Service
public class PagePathService {

    public List<PagePath> getAllPageList() {
        log.info("getAllPageList");
        return PagePathProvider.getAllPath();
    }

    public List<String> getUserViewLog(String userId) {
        log.info("getUserViewLog: {}", userId);
        return PagePathProvider.getActionLog();
    }
}
